The Source Control Integration API > The source control integration API required functions > SCS_GetAgentInfo()

 

SCS_GetAgentInfo()

Description

Asks the DLL to return its name and description, which are displayed in the Define Sites dialog. Name appears in the Server Access pop-up menu (for example, sourcesafe, webdav, perforce) and description just below the pop-up menu.

Arguments

name, version, description, dwAppVersion

name is the name of the source control system. Name appears in the combo box for selecting a source control system in the Source Control tab of the Define Sites dialog box. The name can be a maximum of 32 characters.
version is a string indicating the version of the DLL. Version appears in the Source Control tab of the Define Sites dialog. The version can be a maximum of 32 characters.
description is a string indicating the description of the source control system. Description appears in the Source Control tab of the Define Sites dialog. The description can be a maximum of 256 characters.
dwAppVersion is a string representing the version of Dreamweaver that is calling the DLL. The DLL can use this string to determine the version and language of Dreamweaver.

Returns

true if successful, false if not.